import request from "@/utils/request";

/**
 * @function 上传附件接口
 * @param {string} bucket
 * @param {FormData} file
 * **/
export const uploadFileApi = (bucket, data) => {
  return request.post(`/fileUpload/upload/${bucket}`, data)
}